Compositional dependence of structural parameters, polyhedral distortion and magnetic properties of gallium ferrite