Cavitation bubbles dynamics and cavitation erosion in water jet