Structural and optical properties of sol–gel derived Cr-doped ZnO diluted magnetic semiconductor nanocrystals: an EXAFS study to relate the local structure