On the control of robots with visco-elastic joints