Multistage Stochastic Programming with Parametric Cost Function Approximations