On the generalized Poisson distribution