Version submitted to the arxiv