Solitary waves in the Madelung's fluid: Connection between the nonlinear Schrödinger equation and the Korteweg-de Vries equation