Cosmic abundances of stable particles: Improved analysis