Biodiversity and succession of microbial community in a multi-habitat membrane bioreactor.