Design and development of voltage and frequency controller for micro pico hydro power generation system