Geometry optimization of molecular structures in solution by the Polarizable Continuum Model