A Finite Element Formulation to Three-Dimensionally Resolve Space-Charge Layers in Solid Electrolytes