Neutrino bursts from gamma-ray bursts