Photonic polymers for the devices of the 21st century