Spin transport in a lateral spin-injection device with an FM/Si/FM junction