Safety devices for machine tools