Infrared electroactive materials and devices