Caramelized Onion Pear Tart