Who was president of the united states during the first phase of reconstruction?.