Pork Tenderloin with Caramelized Pears and Onions