Kondo effect on the surface of three-dimensional topological insulators: Signatures in scanning tunneling spectroscopy