Generalized ray expansion for pulse propagation and attenuation in fluid-saturated porous media