The structure of tensor products of semilattices with zero