Officer in Walter Scott shooting sentenced to 20 years