Deterministic control of ferroelectric polarization by ultrafast laser pulses