Electronic and magnetic properties of zigzag GaN nanoribbons with hydrogenation and fluorination