Optimizing crop management with reinforcement learning, imitation learning, and crop simulations