Amorphous carbon and carbon nitride bottom gate thin film transistors