Regime Switching Panel Data Models with Interactive Fixed Effects