Wake topology and hydrodynamic performance of low-aspect-ratio flapping foils