Electron spin resonance studies of oriented NO2 and NF2 in inert matrices at low temperatures