On a class of degenerate parabolic equations of Kolmogorov type