Differentiability properties of the pressure in lattice systems