A first-principle calculation of the XANES spectrum of Cu(2+) in water.