Diamond graphitization by laser-writing for all-carbon detector applications