Study of heat transfer and the nanofluid flow inside a rectangular enclosure with five rectangular baffles in the middle affected by a magnetic field