These old Brooklyn apartments got a stunning facelift—that also cut energy by 80%