A modified variational iteration method for the analysis of viscoelastic beams