Control of moment and orientation for a robot manipulator in contact with a compliantenvironment