The combined role of bay and shelf modes in tsunamis amplification along the coast