Safe Bayesian Optimization for the Control of High-Dimensional Embodied Systems