Notes on the Poisson and exponential distributions