Neural population mechanisms of reward-mediated performance