Investigation with β-particles and protons of buried graphite pillars in single-crystal CVD diamond