Tensor Products of semilattices and distributive lattices