Taxonomic and functional analysis of soil microbial communities in a mining site across a metal(loid) contamination gradient