On the total energy of two-electron atoms