The presence of which of the following pair of elements is determined during the estimation of hardness of water by EDTA method?