International and EU legal frameworks of aviation security