Make regular_grid::iterator work for scalar types.