Baked beans with apples and bacon