Modeling Elementary Heterogeneous Chemistry and Electrochemistry in Solid-Oxide Fuel Cells