Caramel Apple Pie from Scratch