Effect of sorption conditions on the state of copper(II) ions in the phase of AN-31 ion exchange resin, according to data from ESR and UV–vis diffuse reflectance spectroscopy