The long-term effect of research grants on the scientific output of university professors