Design and Properties of Hybrid Organic–Inorganic Nanocomposites for Photonics