Police officer fatally shoots man in North Carolina