Fluorescence spectroscopy of Cr3+ ions in MgO nanofilms on Al2O3 and GaN substrates