Regime Changes and Market Microstructure