The New York attorney general says Exxon used two sets of books and misled investors by downplaying the potential costs of carbon emissions