Community Detection in Attributed Graphs: An Embedding Approach