Semidefinite Programming Approaches To Network Clustering And Smoothing