Linear peristaltic pump based on electromagnetic actuators