Germany admits its spies helped US in Iraq war