Reducing phenotypic instabilities of microbial population during continuous cultivation based on cell switching dynamics