TSQL Challenge: Packing Date and Time Intervals