Heredity in relation to evolution and animal breeding