Characterization of semiconducting diamond film and its application to electronic devices