Treatment of acid mining waters