Investigation of properties of diamond sensors