Design of a Photovoltaic System with Ultracapacitor Energy Buffer