Reward and punishment learning in schizophrenia and bipolar disorder