The safe use of marginal quality water in agriculture: a guide to the water resource planner