Autonomous Valve Turning with an Optimization-based Whole-body Kinematic Control Algorithm