Optimal Spacecraft Rotational Maneuvers