Understanding the effects of nanostructuring on gold catalysis : a study of morphology, electronic structure, and electrocatalytic activity