Bioinspired model of mechanical energy harvesting based on flexoelectric membranes.