Microstructure Theory and the Foreign Exchange Market