Calibration and optimal execution of financial transactions in the presence of transient market impact