The highest high tides occur once every 18 years, and can lead to surprising floods. Here’s the science behind them.