Assessment of heavy metals associated with bacteria in soil