Simulation of flow and water quality from tile drains at the watershed and field scale