On the use of the spectral decomposition of rank-four tensors in elasto/viscoplasticity