Electrocatalytic oxidation of alcohols using platinum and palladium nanoporous solids