Design, Synthesis, and Optoelectronic Properties of the High-Purity Phase in Layered AETMN2 (AE = Sr, Ba; TM = Ti, Zr, Hf) Semiconductors.