Development of stable metal oxide electrodes for the conversion of electricity to chemical fuels