Electrical characterization of semiconductor nanostructures by scanning probe microscopy based techniques