Energy harvesting by flow-induced flutter in a simple model of an inverted piezoelectric flag