Comparison of organic and inorganic layers for structural templating of pentacene thin films