What did the Union forces capture that provided intelligence during the battle?