Formation energies of silicon nanocrystals: role of dimension and passivation