Permutation-invariant distance between atomic configurations.