US mortgage giants to each receive $4b capital cushion