Huntington Beach man pleads guilty to planning and participating in riots at political rallies