Properties of the transition metal dichalcogenides: The case of IrS2 and IrSe2