Theory of mode-induced beam particle loss in tokamaks