Microcontinuum approach to electromagneto-elasticity in granular materials