To punish first and reward second: values determine how reward and punishment affect risk-taking behavior