The theoretical study of the ground electronic states of GaX (X = F, Cl, and Br) molecules