Primary cosmic ray spectrum and the intensity of atmospheric neutrinos