Enhancing electromagnetic performance of metal devices : from nanoscale materials studies to device optimization and macroscale reconfiguration