A general model for welding of ash particles in volcanic systems validated using in situ X-ray tomography