Random-cluster representation of the ashkin-teller model