UN conference on arms trade fails to agree on treaty terms