Beans with sausage and bacon in tomato sauce