Non-Convex Joint Community Detection and Group Synchronization via Generalized Power Method