Analytic second derivatives in restricted Hartree–Fock theory. A method for high‐spin open‐shell molecular wave functions