Green groups lose court bid to halt Alaska land transfer