Understanding the characteristics of mathematical content knowledge for teaching algebra in high schools and community colleges