Trajectory Optimization of Space Manipulators with Flexible Links Using a New Approach