Bagel Breakfast Casserole with Eggs, Ham, and Bacon