Schools and other public facilities in the Republic of Ireland are to close in the wake of the coronavirus outbreak.