Biological treatment of mine-impacted waters on the context of metal recovery