Heredity and evolutionary theory