Bavarian Caramelized Apple Cake