UN urges Turkey to uphold rule of law in response to attempted coup