Electronic and photonic materials