Calculates the symmetric difference of two sets.