Diamond detector technology, status and perspectives