Modeling and analysis of LiFePO4/Carbon battery considering two-phase transition during galvanostatic charging/discharging