Sliding mode control applied to a photovoltaic water-pumping system.