Scaling phenomena in the growth dynamics of scientific output