Porous media drying and two-phase flow studies using micromodels