Subpicosecond electrooptic sampling: Principles and applications