Linear and nonlinear dynamics of Alfvén eigenmodes in tokamaks