Control of natural convection in non- and low-conducting diamagnetic fluids in a cubical enclosure using inhomogeneous magnetic fields with different directions