Stability for the quadratic derivative nonlinear Schrödinger equation and applications to the Korteweg–Kirchhoff type Euler equations for quantum hydrodynamics