On the emergent properties of artificial stock markets: the efficient market hypothesis and the rational expectations hypothesis