Treasury extends $6 billion in aid to GMAC, GM