Photonic devices based on patterning by two photon induced polymerization technique