Template-grown metal nanowires as resonators: performance and characterization of dissipative and elastic properties.