Effect of Nonuniform Partial Shading on the Performance of Photovoltaic Systems