Officials announce takeover of mortgage giants