Diamondpix: a CVD diamond detector with Timepix3 chip interface