A model for determination of effective permeability from acoustic wavespeed and attenuation in a rigid two-phase porous medium