Optimised contact structures for Metal-Diamond-Metal UV-detectors