Dimensional interpolation of correlation energy for two-electron atoms