Rigidity of the Interface in Percolation and Random-Cluster Models