Passivity-based control of robotic manipulators for safe cooperation with humans