Diamond detectors with graphite contacts