Candied Pear Tart with Pistachios