Automated Repositioning from Supine to Lateral with a Humanoid Robot Based on Body Modeling