Roasted Pork Tenderloin with Caramelized Apples, Pears and Onions