Electrical Characterization of Thin Films at the Nanoscale