Dr Oetker has announced the closure of two major breweries in Germany.