'I'd just take a break and cry': Catastrophe's Rob Delaney on how comedy helped him cope through grief