Online resistance diagnostics based on a time-domain step-response analysis for stack-level proton exchange membrane water electrolyzers