A sequential bioreactor adaption strategy enhanced the precipitation of metals from tailings’ leachates