Influence of metal/semiconductor interface on attainable piezoelectric and energy harvesting properties of ZnO