A Comparative Study of Academic Networks in Computer Science and Physics