Detection of SF6 decomposition components by pristine and Cr-doped GaN based on the first-principles theory