what were andrew johnsons term years?