Charities cheered by UN 'toilet' resolution