A stochastic model for multistage tumorigenesis in developing and adult mice