Neutrino emission due to Cooper pairing of nucleons in cooling neutron stars