New class of strong magnets uses earth-abundant elements, avoids rare-earth metals