The magnetic susceptibility of an ion fluctuating between two magnetic valence states