French parliament adopts security law