The U.S. ambassador to Spain from 1842 to 1846 wrote a book while living in what town in England?