US: Ex-cop gets 10 years for killing unarmed black man