Diversified crop rotations reduce groundwater use and enhance system resilience