Effects of heavy metals on microbial diversity and bacterial metal resistance door