Bayesian optimization with known experimental and design constraints for chemistry applications