An Israeli sergeant has been sentenced to 18 months in prison for shooting dead a Palestinian as he lay wounded and unarmed on the ground.