Optimal pitching schedules for a cycloidal rotor in hovering