Waves and their effects on pile-supported structures