UN envoy criticises German army’s role in Afghanistan