U.S. soldier who was born into slavery promoted to brigadier general 100 years after his death