Cheesy Ham, Egg and Potato Breakfast Casserole