Time-resolved spectroscopy of the accretion disk in RW Tauri