Scanning Probe Microscopy: Characterization, Nanofabrication and Device Application of Functional Materials