Investigation of nematic ordering using electric‐field‐induced second‐harmonic generation