Glazed Pork Loin with Apple Compote and Thyme