Patents, transaction costs and academic research project choice