Josephson traveling-wave parametric amplifier with three-wave mixing