Simultaneous observation of cavitation collapse and shock wave formation in cavitating jet