Solvation models for molecular properties: continuum versus discrete approaches