Pyroelectricity in gallium nitride thin films