How flexibility affects the wake symmetry properties of a self-propelled plunging foil