A variable stiffness mechanism for steerable percutaneous instruments