Observer‐based consensus control for heterogeneous multi‐agent systems with intermittent communications