Carrier Density and Schottky Barrier on the Performance of DC Nanogenerator