A spin-adapted size-extensive state-specific multi-reference perturbation theory. I. Formal developments.