Crystallographic and electronic structures of three different polymorphs of pentacene