Sparse spectral discretizations for some parabolic PDEs