Dynamics of domain walls in ferromagnets