Carmelo Anthony, Rockets, Thunder