Surface structure of cubic diamond nanowires