Turkey has condemned the burning of a copy of the Quran during a protest in Sweden, describing it as a "vile act".