Kevin McCarthy elected speaker of the House following chaos on the floor