Carleman estimates for a class of degenerate parabolic operators