Spacecraft docking and berthing mechanisms