Research and innovation in higher education: empirical evidence from research and patenting in Brazil