Energy Characteristics of Hydration of Synthetic Polyampholytes and Their Selectivity to Copper(II) and Nickel(II) Cations