Structural Risk Minimization for Nonparametric Time Series Prediction