United Nations fails to agree landmark arms-trade treaty