Electronic structure and magnetism of transition-metal-stabilized YFe12-xMx intermetallic compounds.