Value of the Future: Discounting in Random Environments