Data-Based Modeling of Electrochemical Energy and Thermal Systems: Fuel Cell and Lithium-Ion Battery