A bridge between dual porosity and multiscale models of heterogeneous deformable porous media