Hartree‐Fock calculation of cohesive energies and equilibrium lattice constants for solid Li and Be