Denmark has banned public crowds of more than 10 people and ordered restaurants and gyms to close in temporary moves to curb the spread of coronavirus, its prime minister said on Tuesday.