Application of model predictive control for the autonomous rendezvous and docking of small satellites