On the generalized Barnett–Lothe tensors for anisotropic magnetoelectroelastic materials