Bayesian Approach to Modeling and Detecting Communities in Signed Network