Gregor Townsend says Scotland owe Wales a favour from 1999 when they beat England in the final Five Nations game to hand Scotland the title.