Identifying Communities As Core-Periphery Structures In Evolving Networks