Singular solutions for a class of traveling wave equations arising in hydrodynamics