Sweet and Savory Pork Loin with Pears and Onions