Components of the Bid-Ask Spread and the Statistical Properties of Transaction Prices