Cosmic abundances of very heavy neutrinos