Magnetohydrodynamic nanofluid convection in a porous enclosure considering heat flux boundary condition