Analytic energy gradients of spin-adapted open-shell time-dependent density functional theory.