Measurement of parameters of scintillating bars with wavelength-shifting fibres and silicon photomultiplier readout for the SHiP Muon Detector