Development of protocols for environmental impact studies using causal modelling, with special reference to wastewater discharges to freshwater systems