Comparison results for solutions of parabolic equations with a singular potential