Time-resolved vacuum Rabi oscillations in a quantum-dot–nanocavity system