On the adjoint of Laplace’s tidal equations