Transparent-ferromagnetic thermoplastic polymers for optical components