Researchers develop flexible, stretchable photonic devices