Bacterial sorption of heavy metals