Two regularity criteria for 3D Navier-Stokes equations in a bounded domain