Programmable material could speed production of photonic integrated circuits