Cosmic Rays and Neutrinos from Gamma Ray Bursts