A non-fouling online method for monitoring precipitation of metal ions in mine waters