Organic–inorganic hybrid ionic conductor prepared by sol–gel process