The hydrostatic approximation for the primitive equations by the scaled Navier–Stokes equations under the no-slip boundary condition