X-shooter spectroscopy of young stars with disks: The TW Hydrae association as a probe of the final stages of disk accretion