Outcome valence and stimulus frequency affect neural responses to rewards and punishments.