Change Point Detection in Dynamic Graphs with Generative Model