Investigation of hydrodynamics and heat transfer at liquid metal downflow in a rectangular duct in a coplanar magnetic field