Raman and interband optical spectra of epitaxial layers of the topological insulators Bi2Te3 and Bi2Se3 on BaF2 substrates