Origins of the ancient constellations: II. The Mediterranean traditions