Japan manages growth in final quarter as tourism returns