Investigation of metal ions exchange between solids and solutions in sediments and soils by using dynamic electroanalytical techniques