a plant for instance that carries both a dominant and a recessive allele for a certain trait is said to be