A New Technique with Adaptive Observer for Controlling a Flexible Spacecraft under Gravity Gradient