BUG: GH2763 fixed downcasting of groupby results on SeriesGroupBy
      e.g. was returning float64 on int64 input when possible to preserve
      in first/last