NEXAFS study of PrFe {sub 1-x} Ni {sub x} O {sub 3} thin films