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