On detection of high-energy neutrinos from sources of gamma-ray bursts