Structural defects and electronic phase diagram of topological insulator bismuth telluride epitaxial films