Flexible Sensors Based on Organic–Inorganic Hybrid Materials