The Queen of Denmark has tested positive for COVID-19 after being among 2,000 people at Queen Elizabeth's funeral at Westminster Abbey.