Teaching to the rating: School accountability and the distribution of student achievement