First on-sky demonstration of an integrated-photonic nulling interferometer: the GLINT instrument