Measurement of the refractive index of the LAB-based liquid scintillator and acrylic at RENO