Signed Network Embedding with Application to Simultaneous Detection of Communities and Anomalies