Estimating the effective BID/ASK spread from time and sales data