Scalloped potatoes with ham and cheese