Most Asian markets have climbed after Greece and its creditors agreed a debt deal to keep it in the eurozone, while the dollar advanced.