Returns a flow containing the results of applying the given transform function to each value and its index in the original flow.