Advances in AFM for the electrical characterization of semiconductors