Temporal integration and segmentation in perceived speed