Effects of thermal and acid treatment on the distribution of heavy metals in sewage sludge