Nonstationary stochastic realization and single sample identification