Relativistic effects on the tensor polarization in electron-deuteron scattering