Tuning topological phases and electronic properties of monolayer ternary transition metal chalcogenides (ABX4, A/B = Zr, Hf, or Ti; X = S, Se, or Te)