genes and heredity