Dynamics and flight control of a flapping-wing robotic insect in the presence of wind gusts