On regularity criteria for the Navier–Stokes equations based on one directional derivative of the velocity or one diagonal entry of the velocity gradient