Magellanic Cloud stars with TiO bands in emission: binary post-RGB/AGB stars or young stellar objects?