US food group Ralcorp Holdings has bought Canadian cracker makers North American Baking and J.T. Bakeries on a day of major expansion for the company.