DC and AC Hopping transport in metal/amorphous carbon nitride/metal devices