A study of detection schemes in electro-optic sampling technique