Overfitting in Bayesian Optimization: an empirical study and early-stopping solution