General scheme of adsorption, electroreduction and catalytic hydrogenation of nitro-compounds on platinum—II. Mechanism of electroreduction and catalytic hydrogenation