Seol mar théacs é seo: Hydrodynamic analysis of flagellated bacteria swimming in corners of rectangular channels