Almost all Asian stocks close with gains