German chancellor in surprise visit to Afghanistan