Sub-nanoscale, single-molecule, magnetic–electronic switching from externally perturbed spin states in iron (III)-based complexes