AlN on sapphire and on SiC: CL and Raman study