Electrochemical synthesis and optical readout of striped metal rods with submicron features