Integration of two-stage nanofiltration with arsenic and calcium intermediate chemical precipitation for gold mining effluent treatment