Tensor polarization of deuterons from 12C-d elastic scattering