Essays on liquidity costs in futures and options markets