Possible mechanism for seismic attenuation in rocks containing small amounts of volatiles