Rational linkage of magnetic molecules using click chemistry.