Deterministic quantum nonlinear optics with single atoms and virtual photons