Avalanches in fracture and breakdown processes