Morphology control and optical characterization of three-dimensional ordered macroporous Cu films from template-assisted electrodeposition