Neutrinos and gravitational waves from cosmological gamma-ray bursts