SafeFall: Learning Protective Control for Humanoid Robots