The structural, electronic and optical properties of Si nanoclusters: effects of size, doping and surface passivation