Transition magnetic moments of hadrons and sidewise dispersion relations