Microbial diversity and population structure analysis of metal resistant microorganisms from contaminated sites for effective sorption of chromium and nickel