Queen Margrethe II of Denmark is abdicating the throne after 52 years. Her eldest son, Prince Frederik, will succeed her as ruler.