'Goldilocks' genes that tell the tale of human evolution hold clues to variety of diseases