Linear, self-referenced fiber-optics technique for single-shot and real-time (sub-)picosecond optical pulse characterization