Regularity criteria for the 3D generalized MHD and Hall-MHD systems