If two genes control a trait and each has a dominant and a recessive allele, how many phenotypic classes are there in the F2 generation?