Vicenç i Eres, Josep, Universitat de Girona i Institut Montilivi