New distances for mixed-type data able to cope with redundant information