Separator in flow battery