bacon and beans with rosemary