Measurements of liquid scintillator properties for the Borexino detector