Schools and kindergartens will be shut in most German states until after the Easter holiday in April, a measure designed to slow the spread of the coronavirus.