Organic/inorganic hybrid materials for solution-processed photonic applications