Carleman linearization and moment equations of nonlinear stochastic equations