Pear and Red Potato Gratin