Cultivating learning opportunities for mathematical practices in urban middle and high school mathematics classes