Stress-induced nuclear quadrupole splittings in MgO: Mn2+ and CaF2: Eu2+