U.S. teetering on brink of recession as GDP contracts in second quarter