Design and construction of a multifunction piezoelectric transformer