how to cook canned beans with rice