New York City approves energy grades for buildings