Study on dynamic adsorption characteristics of gangue to heavy metals in goaf and its water purification mechanism under leaching condition