Testing threshold cointegration in Wagner's Law: the role of military spending