Given a solid body spinning around its center of mass, the eigenvectors of its positive definite inertia tensor prescribe three mutually orthogonal principal directions of rotation, while the corresponding eigenvalues are the moments of inertia. Given the inertia tensor $T=\left(\begin{array}{lll}2 & 1 & 0 \\ 1 & 3 & 1 \\ 0 & 1 & 2\end{array}\right)$, find the principal directions and moments of inertia.