Electrodeposition of nanometer-sized ferric oxide materials in colloidal templates for conversion of light to chemical energy