Surface-induced effects in GaN nanowires