Probing porous media with first and second sound. I. Dynamic permeability | Synapse