An approximate solution of the integral equation of renewal theory