The sum of the ages of two sisters is 12 years, and the difference in their ages is 6 years. What are their ages?