Description of the solvent effects for large molecules: a linear scaling procedure