Mean-field electron-vibrational theory of collective effects in photonic organic materials: bistability