Hartree–Fock potential energy curves for the X 2Σ+ and 2Π states of NeF and ArF