Critical phonons and R- zero-phonon emission line of Cr3+ in Mg-doped SrTiO3