Analytic derivative couplings for spin-flip configuration interaction singles and spin-flip time-dependent density functional theory.