Leg Control for Changing Locomotion between Leg-type and Wheel-type Designs based on Effective Use of Total Power