Pseudospectral methods for the stability of periodic solutions of delay models