Atomic correlation energies. I. Rigorous evaluation of E(2) for He, Li and Be