Charlotte ends curfew imposed after black man shot by police