what was salt used for in ancient times