A stochastic finite element model for the dynamics of globular proteins