How to observe 8B solar neutrinos in liquid scintillator detectors