Correlation energies in the isoelectronic series of He, Li, Be and Ne