Method for Resistivity Measurement of Grainy Carbon and Graphite Materials