Spectral expansions of homogeneous and isotropic tensor-valued random fields