Effect of deformation and charging conditions on crack and blister formation during electrochemical hydrogen charging