The Colombian government and leftist FARC fighters have signed a revised peace accord, bringing an end to more than 50 years of civil conflict.