Optimal Sizing of Stand-Alone Photovoltaic Systems for Rural Electrification