An optimal control of hookworm transmissions model with differential infectivity