Crystal field theory and substitution reactions of metal ions