Optimal Vibration Control of Flexible Beams by Moving Actuators