Synthesis of high-purity silver nanorods with tunable plasmonic properties and sensor behavior