On the resonance and influence of the tides in Ungava Bay and Hudson Strait