Reversible systems. Stability at 1:1 resonance