On the random-cluster model