Design and characterization of selectively functionalized nanoscale electronic devices