UN urges Belarus, Poland to deal with 'appalling' border situation