An underground cave stretching tens of metres below an open pit on the moon has been discovered which could be a potential base for future astronauts, say scientists.