Nonequilibrium poroelectroelastic theory for polymer electrolytes under conditions of water electrolysis