Transfer characteristics and contact resistance in Ni- and Ti-contacted graphene-based field-effect transistors