Energy harvesting using an inverted piezohydroelastic flag with resistor–inductor–capacitor circuit