Reduction of nitrate on electrochemically pre-reduced tin-modified palladium electrodes