McCoy Lecture: Nanodevices and Maxwell's Demon