McCarthy confident he'll have the votes to become House speaker