In poultry, black color is due to a dominant factor (B). The recessive color is red (b). A red male bird is mated to a black female. They produce many offspring, half of which are black and half red. What are the genotypes of the parents?