Scientific collaboration dynamics in a national scientific system