Optimised contact-structures for metal-diamond-metal UV-detectors