Mean-square consensus for heterogeneous multi-agent systems with probabilistic time delay