Fabrication and measurement of surface nanoelectronic devices in diamond