Automatic machine for marking of bearings