A first-principles study of electronic properties of H and F-terminated zigzag BNC nanoribbons