Place the chicken on a foil lined baking sheet. Season with salt and pepper on both sides. Rub the tops of the chicken with the pesto then sprinkle with both cheeses. Bake for 15 to 20 minutes, or until the chicken is cooked through and registers an internal temperature of 165°F.