Orientation effects on the electronic and optical properties of germanium quantum wires