Warner's triple century sets records in day-night test