Doping Strategy and Mechanism for Oxide and Sulfide Solid Electrolytes with High Ionic Conductivity