A stochastic model for cellular senescence. Part I. Theoretical considerations