Write two properties of a material suitable for making (a) a permanent magnet, and (b) an electromagnet