The entry and exit game in the electricity markets: A mean-field game approach