Steering the structure and selectivity of CO2 electroreduction catalysts by potential pulses