A probabilistic approach to renewal theory