Friction in the trading process and the estimation of systematic risk