Metastability of the UV luminescence in Mg-doped GaN layers grown by MOVPE on quasi-bulk GaN templates