How are the genotype and phenotype of parents related to the genotype and phenotypes of offspring?