Some aspects of axion cosmology in unified and superstring models