Baked Polenta with Eggs and Pesto