Gene-pseudogene evolution: a probabilistic approach