Ab-initio calculation of the optical properties of silicon quantum wires