Reinforcement learning, efficient coding, and the statistics of natural tasks. (October 2015)