Electrochemical behaviour of halogenomides. The role of additional functional groups on the reduction pattern and the nature of the products