G-parity-violating amplitudes in the J/ψ→π+π- decay