Detection of second hydration shells in ionic solutions by XANES: Computed spectra for Ni2+ in water based on molecular dynamics