Effect of strain on the electronic structure and optical properties of germanium