Edge physics in two-dimensional topological insulators