Flexible photonic components in glass substrates.