Liquid flow battery energy storage and power generation