SECOND AMENDED AND RESTATED PURCHASE AND SALE AGREEMENT by and between ACS FUNDING TRUST I, as the Buyer and AMERICAN CAPITAL STRATEGIES, LTD., as the Seller Dated as of August 10, 2004