Hydromechanics of swimming propulsion. Part 1: Swimming of a two-dimensional flexible plate at variable forward speeds in an inviscid fluid