The initial-Dirichlet problem for parabolic equations in nonsmooth domains