Laser pulse amplitude changes induced by terahertz waves under linear electro-optic effect