Text this: Attenuation of wave-induced groundwater pressure in shallow water. Part 2. Theory