Conditional mode regression: Application to functional time series prediction