Carleman estimates for degenerate parabolic operators with applications to null controllability