Structural and compositional control in {M12} cobalt and nickel coordination clusters detected magnetochemically and with cryospray mass spectrometry.