Use of the Method of Guidance by a Required Velocity in Control of Spacecraft Attitude