A Hierarchical Optimization Approach to Robot Teleoperation and Virtual Fixtures Rendering