House adjourns after McCarthy fails in marathon votes for speaker