An LED-based flasher system for VERITAS