Structural characterization of BaTiO3 thin films grown by molecular beam epitaxy