Inorganic semiconducting electrolytes