Unidirectional amplification and shaping of optical pulses by three-wave mixing with negative phonons