An optimal control problem for the administration of a drug by using red blood cells as bioreactors