The Evolution of Hyperbolic Discounting