Derivation ofv ?/v ? and the spectra of neutrinos from pions and kaons produced by primary cosmic rays throughp-nucleus collisions