Certain problems in electromechanics and magnetomechanics (confined to piezoelectricity and magnetoelasticity including problems in viscoelastic fluids