A beam hodoscope based on a scintillating fiber array with multianode photomultiplier readout