XANES study of vanadium and nitrogen dopants in photocatalytic TiO2 thin films.