Study of the elastic properties of gallium nitride