Ternary Chalcogenides BaMxTe2 (M = Cu, Ag): Syntheses, Modulated Crystal Structures, Optical Properties, and Electronic Calculations.