Architecture definition and safety assessment of the flight control system for a light rotary-wing UAV