Ground and excited state gradients with end-to-end differentiable semiempirical quantum chemistry | Synapse