Saudi Arabia has asked visiting pilgrims to wear masks in crowded places to stop spread of the MERS coronavirus.