Analysis and prediction of single-phase and two-phase cooling characteristics of intermittent sprays