Optical studies of GaN and GaN/AlGaN heterostructures on SiC substrates