Comparative metagenomics reveals microbial community differentiation in a biological heap leaching system.