Summer Tomato Pie with Herb Ricotta