Pakistan, Afghanistan cooperation imperative to wipe out terrorism: Fatemi