Thermodynamic anomalies in a lattice model of water: Solvation properties