A rare disorder in which people can't produce sweat may be caused by a mutation in a single gene, according to a new study.