Optimal contraception control for a nonlinear population model with size structure and a separable mortality