Sara Lee has entered an agreement to sell its North American refrigerated dough business to fellow US food group Ralcorp Holdings.