Numerical study of slug flow heat transfer in microchannels