Shallow water effect of tandem flapping foils on renewable energy production