Field-Effect Transistors Made by Functionalized Pentacene with Logic Gate Applications