Experiments for inorganic–organic hybrid sol–gel films for micro- and nano-photonics