The relationship between structure and electrochemical properties of porous gas electrodes