Resolvent estimates for the Stokes operator on an infinite layer