The determination of the flux of cosmic ray protons with nuclear emulsions