Assessing the performance and the wake recovery rate of flapping-foil turbines with end-plates and detached end-plates