Algebraic-geometric Poisson brackets for real finite-gap solutions of the Sine-Gordon equation and the non-linear Schrödinger equation