Synthesis and characterization of high quality ferromagnetic Cr-doped GaN and AlN thin films with Curie temperatures above 900K