Implement slicing syntax with traits Slice and SliceMut