BUG: GroupBy doesn't preserve timezone

Closes #3950. This is a fix for `groupby` issue.
(#7092 is for original report)