Advances in biotreatment of acid mine drainage and biorecovery of metals: 1. Metal precipitation for recovery and recycle