Topological insulator on the kagome lattice