BUG: DatetimeIndex.__iter__ creates a temp array of Timestamp (GH7683)

closes #7683
 
Move ``__iter__`` from ``DatatimeIndex/PeriodIndex`` to ``DatetimeIndexOpsMixin``
Adding perf tests for change
iter(idx1) is basically partial iteration with non element iterated.