Design and characterization of nanocrystalline graphite/graphene based environmental sensors