Effect of magnetic field on convection heat transfer inside a tilted square enclosure