LBM study of ice nucleation induced by the collapse of cavitation bubbles