Rabi-oscillation-enhanced frequency conversion in quantum-dot semiconductor optical amplifiers