Regularity Criteria for Weak Solutions to the Navier–Stokes Equations in Terms of Spectral Projections of Vorticity and Velocity