Output-Based Control of Robots with Variable Stiffness Actuation