Generalized analysis of quasi-steady-state and transient decay open circuit voltage measurements