Stationary solitons of the generalized nonlinear Schrödinger equation with nonlinear dispersion and arbitrary refractive index