Fighting for liberty in an unequal society: African American military service in the American Revolution and the path towards citizenship