Optimal Rendezvous Trajectories of a Controlled Spacecraft and a Tumbling Object