Theoretical study of the band offsets at GaN/AlN interfaces