Structure and electronic structure of polyacene