Phonon transport properties of bulk and monolayer GaN from first-principles calculations