Deep Learning for Bayesian Optimization of Scientific Problems with High-Dimensional Structure