A halo approach to the evaluation of the cross-correlation between the SZ sky and galaxy surveys