Possible $H$-like dibaryon states with heavy quarks