Regularity of weak solutions of parabolic variational inequalities