Comparison of a statistical simulation method and a spectral method for analysis of stochastic multistructure systems with distributed transitions