Rigid-Flexible Coupling Dynamics and Control of Flexible Spacecraft with Time-Varying Parameters