Maximum power point tracking in photovoltaic systems