Design and characterization of a real time particle radiography system based on scintillating optical fibers