Transport and ion exchange of calcium and magnesium in an aggregated soil