Molecular Sensors and Nanodevices: Principles, Designs and Applications in Biomedical Engineering