Distribution function of continuously created newborn and pickup ions in outer cometary exospheres