A Harnack inequality for degenerate parabolic equations