Topological Defects in Topological Insulators and Bound States at Topological Superconductor Vortices