Design an algorithm to merge overlapping time intervals representing customer communication schedules.