On a comparison theorem for parabolic equations with nonlinear boundary conditions