Global regularity criterion for the Navier‐Stokes equations based on the direction of vorticity