AG can seek ExxonMobil climate-change data, Massachusetts court rules