Towards understanding of the three-dimensional chromosomal organization. A Bayesian model-based approach to analyze Hi-C data