Gravar-mail: Reinforcement learning can account for associative and perceptual learning on a visual decision task