Energy harvesting properties of a flapping wing with an adaptive Gurney flap