Metabolic and bacterial diversity in soils historically contaminated by heavy metals and hydrocarbons.