Mechanical characterization of pharmaceutical solids: a comparison between rheological tests performed under static and dynamic porosity conditions.