Structure and magnetic properties of Fe12X clusters