Two-stage constrained Bayesian optimization for particle accelerator tuning | Synapse