BUG: fix DatetimeIndex join with PeriodIndex stack overflow
TST: add test for joining PeriodIndex with DatetimeIndex