Recursive Trajectory Optimization For Autonomous Proximity Operations And Docking Of Small Satellites