Investigation of the wear mechanism of cubic boron nitride tools used for the machining of compacted graphite iron and grey cast iron