Compute intersection between two date ranges