XANES study and valence states in (R1,R2-DCNQI)2Cu