On the moving load problem in beam structures equipped with tuned mass dampers