Precise estimation of the energy levels of two-electron atoms under spherical confinement