Generically derive RawFromSql for Range<T>