Hartree–Fock approximation for D‐dimensional two‐electron atoms