Pictures in the sky: the origin and history of the constellations