Community Structure in Time-Dependent Networks