Integrated development of chemoptical fiber nanosensors