Dynamic interaction of a proton exchange membrane fuel cell and a lead-acid battery