How the FTSE All-Share has performed under Conservative and Labour chancellors