How does the law of conservation of matter apply to chemical equations?