Thyme-Roasted Apples and Onions