On the global well-posedness of the two-dimensional Boussinesq system with a zero diffusivity