Redesigning reinforcement learning to penalize sycophancy