Chemico-electromechanical coupling in microporous media.