Dr Oetker UK has signed a deal to buy The Schwan Food Company's European frozen pizza business.