Tunisia dismisses defense, foreign ministers