Optimal guaranteed cost control of a class of hybrid systems with mode-dependent mixed time delays