One Dimensional Mathematical Modelling of the All-Vanadium and Vanadium/Oxygen Redox Flow Batteries