programmable photonic integrated circuit