Effects of irregular shape and topography in thermophysical models of heterogeneous cometary nuclei