The cost of knowledge and productivity dynamics. An empirical investigation on a panel of OECD countries