Crystal structure and chemistry of topological insulators