Toward autonomous additive manufacturing: Bayesian optimization on a 3D printer