Pošljite SMS: Affective bias as a rational response to the statistics of rewards and punishments