why is a compound considered a pure substance