The pressure-pulse method for measuring space-charge distribution in irradiated insulators