Nanoframes with three-dimensional electrocatalytic surfaces