Optimizing Crop Management with Reinforcement Learning and Imitation Learning