Electronic and optical properties of a-C from tight-binding molecular dynamics simulations