Adaptation of soil microbial community structure and function to chronic metal contamination at an abandoned Pb-Zn mine.