Charged-particle tracking with high spatial and temporal resolution using capillary arrays filled with liquid scintillator