Statistical equilibrium and photospheric abundance of silicon in the Sun and in Vega