Transition-metal-doped group-IV monochalcogenides: a combination of two-dimensional triferroics and diluted magnetic semiconductors