Model-based closed-loop wind farm control for power maximization using Bayesian optimization