Ab initio Hartree‐Fock calculations with inclusion of a polarized dielectric; formalism and application to the ground state hydrated electron