Fall Prediction and Controlled Fall for Humanoid Robots