How is a compound different from a mixture?