Numerical investigation of MHD effects on nanofluid heat transfer in a baffled U-shaped enclosure using lattice Boltzmann method