Managing water and fertilizer for sustainable agricultural intensification