Continuum Mechanics of Electromagnetic Solids